/*
 * 软件版权: 恒生电子股份有限公司
 * 修改记录:
 * 修改日期     修改人员  修改说明
 * @Version:1.0
 * ========    =======  ============================================
 * 2025/3/8  hspcadmin  com.msb.common.exception 新增
 * ========    =======  ============================================
 */
package com.msb.common.exception;

/**
 * 功能说明:
 *
 * @author hspcadmin
 */
public enum BizCodeEnum {
  UNKOWN_EXCEPTION(10000,"系统未知异常"),
  VALID_EXCEPTION(10001,"参数格式异常"),
  PRODUCT_UP_EXCEPTION(11001,"商品上架异常");

  private int code;
  private String msg;

  BizCodeEnum(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }

  public int getCode() {
    return code;
  }

  public String getMsg() {
    return msg;
  }
}
